<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="com.blockchain.console.servlets.trading.jjfq.JyfqList"%>
<%@page import="com.blockchain.console.service.trading.entity.XlbEntity"%>
<%@page import="com.blockchain.console.servlets.trading.jjfq.AddJyfq"%>
<%@page import="com.blockchain.common.enums.IsPass"%>
<html>
<head>
<%@include file="/WEB-INF/include/meta.jsp"%>
<%@include file="/WEB-INF/include/style.jsp"%>
</head>
<%
CURRENT_CATEGORY="JYGL";
CURRENT_SUB_CATEGORY="FQGL";
XlbEntity [] xlbs=(XlbEntity[])request.getAttribute("xlb");
%>
<body>
	<%@include file="/WEB-INF/include/header.jsp"%>
	<div class="w_main">
	<div class="main clearfix">  
    <div class="wrap">
        <div class="r_main">
            <div class="home_main">
            	<div class="box box1 mb15">
                	<div class="atil">
                    	<h3>添加分区</h3>
                  </div>
                    <div class="con">
                    <div class="clear"></div>
                    <form action="<%=controller.getURI(request, AddJyfq.class)%>" method="post"  class="form1">
                    <ul class="cell yw_jcxx">
                    <li>
                        <div class="til"><span class="red">&nbsp;</span></div>
                        <div class="info orange">
                        <%StringHelper.filterHTML(out, controller.getPrompt(request, response, PromptLevel.ERROR));%>
                        </div>
                        <div class="clear"></div>
                    </li>
                     <li>
                        <div class="til"><span class="red">*</span>币种：</div>
                        <div class="info orange">
                        	<select name="bid" class="yhgl_sel">
                                <%if(xlbs!=null){for (XlbEntity s: xlbs) {%>
								<option value="<%=s.id%>" <%if (s.id==IntegerParser.parse(request.getParameter("bid"))) {%> selected="selected" <%}%>><%StringHelper.filterHTML(out,s.zwm);%>（<%StringHelper.filterHTML(out,s.ywjc);%>）</option>
								<%}}%>
                            </select>
                        	 <p tip></p>
							<p errortip class="" style="display: none"></p>
                        </div>
                        <div class="clear"></div>
                    </li>
                    
                     <li>
                        <div class="til"><span class="red">*</span>分区名称：</div>
                        <div class="info orange">
                        	<input type="text" class="text yhgl_ser required max-length-10" name="fqmc" value="<%StringHelper.filterHTML(out,request.getParameter("fqmc"));%>" />
                        	 <p tip></p>
							<p errortip class="" style="display: none"></p>
                        </div>
                        <div class="clear"></div>
                    </li>
                    <li>
                        <div class="til"><span class="red">*</span>分区英文名称：</div>
                        <div class="info orange">
                        	<input type="text" class="text yhgl_ser required max-length-10" name="fqywm" value="<%StringHelper.filterHTML(out,request.getParameter("fqywm"));%>"/>
                        	 <p tip></p>
							<p errortip class="" style="display: none"></p>
                        </div>
                        <div class="clear"></div>
                    </li>
                    <li>
                        <div class="til"><span class="red">*</span>序号：</div>
                        <div class="info orange">
                        	<input type="text" class="text yhgl_ser required isint" name="px" value="<%StringHelper.filterHTML(out,request.getParameter("px"));%>"/>
                        	 <p tip></p>
							<p errortip class="" style="display: none"></p>
                        </div>
                        <div class="clear"></div>
                    </li>
                    
                    
                    <li>
                        <div class="til"><span class="red">*</span>是否可用：</div>
                        <div class="info orange">
                        	<select name="sfky" class="yhgl_sel">
                                <%for (IsPass s : IsPass.values()) {%>
								<option value="<%=s.name()%>" <%if (s.name().equals(request.getParameter("sfky"))) {%> selected="selected" <%}%>><%=s.getName()%></option>
								<%}%>
                            </select>
                        	 <p tip></p>
							<p errortip class="" style="display: none"></p>
                        </div>
                        <div class="clear"></div>
                    </li>
               		</ul>
                    <div class="tc w220 pt20"><button type="submit" class="btn4 mr30 sumbitForme"  style="cursor: pointer;" fromname="form1">确认</button>
                    	<a href="<%=controller.getURI(request, JyfqList.class) %>" class="btn4">返回</a>
                    </div>
                	<div class="clear"></div>
                    </form>
                  </div>
                </div>
              <div class="box2 clearfix"></div>
            </div>
        </div>   
    </div>
 	<%@include file="/WEB-INF/include/left.jsp" %>
	</div>
	</div>
	<%@include file="/WEB-INF/include/footer.jsp"%>
	<%@include file="/WEB-INF/include/script.jsp"%> 
	<script type="text/javascript" src="<%=controller.getStaticPath(request)%>/js/validation.js"></script>
</body>
</html>